package com.inspur.system.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.inspur.common.annotation.Excel;
import com.inspur.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * @date 2024-04-09
 */
public class PmWorkItemDTO extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工作项编号 */
    private String cPmNo;

    /** 工作项名称 */
    @Excel(name = "工作项名称")
    private String cPmNme;

    /** 项目编号 */
    @Excel(name = "项目编号")
    private String cProNo;

    /** 项目名称 */
    @Excel(name = "项目名称")
    private String cProNme;

    /** 优先级 */
    @Excel(name = "优先级")
    private String cPmPri;

    /** 工作项状态 */
    @Excel(name = "工作项状态")
    private String cPmState;

    /** 创建人 */
    @Excel(name = "创建人")
    private String cCrePer;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tCreTm;

    /** 修改人 */
    @Excel(name = "修改人")
    private String cUpdPer;

    /** 修改时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date tUpdTm;

    /** 关联成员 */
    @Excel(name = "关联成员")
    private String cPmPer;

    /** 预估工时 */
    @Excel(name = "预估工时")
    private Double cEstWork;

    /** 已登记工时 */
    @Excel(name = "已登记工时")
    private Double cRegWork;

    /** 剩余工时 */
    @Excel(name = "剩余工时")
    private Double cRemWork;

    /** 预估工时/剩余工时 */
    @Excel(name = "预估工时/剩余工时")
    private String cEstRemWork;

    /** 关联工作项 */
    @Excel(name = "关联工作项")
    private String cWork;

    /** 表名 */
    private String cTable;

    /** 主键名 */
    private String cNo;

    /** 工作项类型 */
    private String cPmType;

    private String cType;

    private String cCrePerNme;


    public void setcPmNo(String cPmNo) 
    {
        this.cPmNo = cPmNo;
    }

    public String getcPmNo() 
    {
        return cPmNo;
    }
    public void setcPmNme(String cPmNme) 
    {
        this.cPmNme = cPmNme;
    }

    public String getcPmNme() 
    {
        return cPmNme;
    }
    public void setcProNo(String cProNo) 
    {
        this.cProNo = cProNo;
    }

    public String getcProNo() 
    {
        return cProNo;
    }

    public String getcProNme() {
        return cProNme;
    }

    public void setcProNme(String cProNme) {
        this.cProNme = cProNme;
    }

    public void setcPmPri(String cPmPri)
    {
        this.cPmPri = cPmPri;
    }

    public String getcPmPri() 
    {
        return cPmPri;
    }
    public void setcPmState(String cPmState) 
    {
        this.cPmState = cPmState;
    }

    public String getcPmState() 
    {
        return cPmState;
    }
    public void setcCrePer(String cCrePer) 
    {
        this.cCrePer = cCrePer;
    }

    public String getcCrePer() 
    {
        return cCrePer;
    }
    public void settCreTm(Date tCreTm) 
    {
        this.tCreTm = tCreTm;
    }

    public Date gettCreTm() 
    {
        return tCreTm;
    }
    public void setcUpdPer(String cUpdPer) 
    {
        this.cUpdPer = cUpdPer;
    }

    public String getcUpdPer() 
    {
        return cUpdPer;
    }
    public void settUpdTm(Date tUpdTm) 
    {
        this.tUpdTm = tUpdTm;
    }

    public Date gettUpdTm() 
    {
        return tUpdTm;
    }
    public void setcPmPer(String cPmPer) 
    {
        this.cPmPer = cPmPer;
    }

    public String getcPmPer() 
    {
        return cPmPer;
    }
    public void setcEstWork(Double cEstWork)
    {
        this.cEstWork = cEstWork;
    }

    public Double getcEstWork()
    {
        return cEstWork;
    }
    public void setcRegWork(Double cRegWork)
    {
        this.cRegWork = cRegWork;
    }

    public Double getcRegWork()
    {
        return cRegWork;
    }

    public Double getcRemWork() {
        return cRemWork;
    }

    public void setcRemWork(Double cRemWork) {
        this.cRemWork = cRemWork;
    }

    public String getcEstRemWork() {
        return cEstRemWork;
    }

    public void setcEstRemWork(String cEstRemWork) {
        this.cEstRemWork = cEstRemWork;
    }

    public void setcWork(String cWork)
    {
        this.cWork = cWork;
    }

    public String getcWork()
    {
        return cWork;
    }

    public String getcTable() {
        return cTable;
    }

    public void setcTable(String cTable) {
        this.cTable = cTable;
    }

    public String getcNo() {
        return cNo;
    }

    public void setcNo(String cNo) {
        this.cNo = cNo;
    }

    public String getcPmType() {
        return cPmType;
    }

    public void setcPmType(String cPmType) {
        this.cPmType = cPmType;
    }

    public String getcType() {
        return cType;
    }

    public void setcType(String cType) {
        this.cType = cType;
    }

    public String getcCrePerNme() {
        return cCrePerNme;
    }

    public void setcCrePerNme(String cCrePerNme) {
        this.cCrePerNme = cCrePerNme;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cPmNo", getcPmNo())
            .append("cPmNme", getcPmNme())
            .append("cProNo", getcProNo())
            .append("cProNme", getcProNme())
            .append("cPmPri", getcPmPri())
            .append("cPmState", getcPmState())
            .append("cCrePer", getcCrePer())
            .append("tCreTm", gettCreTm())
            .append("cUpdPer", getcUpdPer())
            .append("tUpdTm", gettUpdTm())
            .append("cPmPer", getcPmPer())
            .append("cEstWork", getcEstWork())
            .append("cRegWork", getcRegWork())
            .append("cRemWork", getcRemWork())
            .append("cEstRemWork", getcEstRemWork())
            .append("cWork", getcWork())
            .append("cTable", getcTable())
            .append("cNo", getcNo())
            .append("cPmType", getcPmType())
            .toString();
    }
}
